import { type RouteRecordRaw } from 'vue-router';
import { MAIN_LAYOUT } from '@/components/constants';

export const routeList: RouteRecordRaw[] = [
  {
    path: '/project',
    component: MAIN_LAYOUT,
    children: [
      {
        // 这里需要提供一个空的嵌套路径来嵌套路由组件
        path: '',
        name: 'project',
        component: () => import('@/views/ProjectView.vue')
      }
    ]
  }
];

export default routeList;
